home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re EditView location⁄Deleting < prev    next >
Encoding:
Internet Message Format  |  1996-08-07  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: EditView location/Deleting views
  2. Sent:        8/6/96 1:58 PM
  3. Received:    8/6/96 1:11 PM
  4. From:        Greg Friedman, friedman@cognosis.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Scott Daniels wrote:
  9. > ODF Team,
  10. >
  11. > I am using the new EditView class to edit text in a content view. However,
  12. > I am creating the editview on the fly wherever needed. Not knowing how to
  13. > delete the view once created (delete myView causes a crash), I instead
  14. > hide the view after using, and then tried to move it when I needed it
  15. > again. To my surprise, the move/resize (locationchanged/sizechanged)
  16. > member functions are not coded! Could someone tell me either:
  17.  
  18. ODF 2 does a better job of dealing with relocating and sizing edit views.
  19.  
  20. Rob Cope recently posted a description of a bug he found when deleting
  21. views. FW_CFrame caches a pointer to the view the mouse was most recently
  22. over. If this view is deleted, FW_Frame won't know about the deletion, and
  23. will try to use the stale pointer. Is it possible that this is the crash
  24. you are running into when you delete your edit view? If not, do you have an
  25. idea where the crash is happening? If you can figure out why you are
  26. crashing, I can fix the problem for the next release.
  27.  
  28. Greg.
  29.  
  30.  
  31. ___________________________________________________________
  32.  Greg Friedman       ODF Engineering        Apple Computer
  33.  
  34.  
  35.